package com.cxs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @ClassName: Admin
 * @description:   管理员表
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@TableName(value ="t_admin")
@Data
public class Admin implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id，主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;
    /**
     * 密码
     */
    private String phone;
    /**
     * 密码
     */
    private Integer sex;
}
